package il.ac.bgu.soa2009.hw6.impl;

import il.ac.bgu.soa2009.hw6.impl.GoOutServiceImpl;

/**
 * User: Henry
 * Date: 04/04/2009
 * Time: 16:33:40
 */
public class GoOutServiceSingleton {
    private static GoOutServiceImpl server;

    public static GoOutServiceImpl getInstance() {
        synchronized (GoOutServiceSingleton.class) {
            if (server == null) {
                server = new GoOutServiceImpl();
            }
        }
        return server;
    }
}
